<%@ Control Language="C#" AutoEventWireup="true" CodeFile="RelatedProducts.ascx.cs"
    Inherits="Tathata.Web.Modules.Products.RelatedProductsControl" %>
<table width="100%">
    <tr>
        <td align="left">
            <div style="width: 100%">
                <div class="hl">
                    <img src="<%=Page.ResolveUrl("~/images/sp.gif")%>" /></div>
                <div class="blockHeader">
                    <img src="<%=Page.ResolveUrl("~/images/VerticalLine.gif")%>" style="margin-top: 14px;" /><b><%=GetLocaleResourceString("RelatedProductsControl.RelatedProducts")%></b><br />
                </div>
                <div class="text1">
                    <table width="100%" cellspacing="0" cellpadding="0" border="0">
                        <tbody>
                            <tr>
                                <td width="100%" align="center">
                                    <asp:DataList ID="dlRelatedProducts" runat="server" RepeatColumns="2" RepeatDirection="Horizontal"
                                        RepeatLayout="Table" OnItemDataBound="dlRelatedProducts_ItemDataBound" Width="100%">
                                        <ItemTemplate>
                                            <table cellspacing="0" cellpadding="0" class="blockBordered">
                                                <tbody>
                                                    <tr>
                                                        <td class="productBoxTitle">
                                                            <asp:HyperLink ID="hlProduct" runat="server" CssClass="link" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="productBoxPicture">
                                                            <asp:HyperLink ID="hlImageLink" runat="server" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <table cellspacing="0" cellpadding="0" class="productAddInfo1">
                                                                <tbody>
                                                                    <tr>
                                                                        <td style="width: 95px; padding-left: 35px;">
                                                                            <s>
                                                                                <asp:Label ID="lblOldPrice" runat="server" />
                                                                            </s>
                                                                            <asp:Label ID="lblPrice" runat="server" CssClass="productPrice" />
                                                                        </td>
                                                                        <td style="width: 120px; text-align: right; vertical-align: middle; padding-right: 20px;">
                                                                            <asp:Button runat="server" ID="btnRelatedProductDetails" OnCommand="btnRelatedProductDetails_Click"
                                                                                Text="Details" ValidationGroup="RelatedProductDetails" CommandArgument='<%# Eval("ProductID2") %>' />
                                                                        </td>
                                                                    </tr>
                                                                </tbody>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            <br />
                                            <br />
                                        </FooterTemplate>
                                    </asp:DataList>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </td>
    </tr>
</table>
